from flask import Flask, render_template

from rank import get_rank_56, get_rank_qax

app = Flask(__name__)


@app.route('/')
def hello_world():  # put application's code here
    return render_template('home.html')


@app.route('/56')
def rank_56():  # put application's code here
    return render_template('rank_56.html', rank_table=get_rank_56())


@app.route('/qax')
def rank_qax():  # put application's code here
    return render_template('rank_qax.html', rank_table=get_rank_qax())


if __name__ == '__main__':
    app.run()
